package com.bestcem.xm.survey.grpc.service;

import zhongyan.xm.base.v1.Base;

/**
 * GRPC常量类
 *
 * @author xiaoshu.shao <xiaoshu.shao@idiaoyan.com>
 * @version V1.0
 * @date 2022/9/21
 */
public interface GrpcConstant {

    /**
     * 成功状态码
     */
    Base.Status SUCCESS_STATUS = Base.Status.newBuilder().setCode(Base.Code.OK).build();

    /**
     * 失败状态码
     */
    Base.Status FAIL_STATUS = Base.Status.newBuilder().setCode(Base.Code.ERROR).build();

}
